package com.sb.hot.ext.pe;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 刘雄康
 * @version V1.0
 * @copyright 2020 CMB - Powered By 研发一部
 * @date 2021/04/16 22:36
 */
@Configuration
// @Configurable
public class Config {
    @Value("${my.value}")
    private ExoticType exoticType;

    @Bean
    public DependsOnExoticType dependsOnExoticType() {
        DependsOnExoticType type = new DependsOnExoticType(); type.setType(exoticType); return type;
    }
}
